<div class="toolbar">
    <h4>{{platformManager.id===0?'添加':'详情'}}</h4>
</div>
<div class="p-2">
    <div class="card card-body">
        <form #ngForm="ngForm" class="container m-0">
            <div class="form-group row">
                <label class="col-sm-2 col-form-label label-required text-right">客户名称</label>
                <div class="col-sm-10">
                    <input required name="name" [(ngModel)]="platformManager.platformManagerName" type="text" class="form-control" placeholder="请输入客户名称">
                    <div class="invalid-feedback">客户名称必填的</div>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">期初日期</label>
                <div class="col-sm-10">
                    <div class="row">
                        <div class="col">
                            <input name="mobile" [(ngModel)]="platformManager.platformManagerMobile" type="text" class="form-control" placeholder="请输入期初日期">
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">应收单据数</label>
                <div class="col-sm-10">
                    <div class="row">
                        <div class="col">
                            <input name="mobile" [(ngModel)]="platformManager.platformManagerMobile" type="text" class="form-control" placeholder="请输入应收单据数">
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">应收总金额</label>
                <div class="col-sm-10">
                    <div class="row">
                        <div class="col">
                            <input name="mobile" [(ngModel)]="platformManager.platformManagerMobile" type="text" class="form-control" placeholder="请输入应收总金额">
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label text-right">录入人</label>
                <div class="col-sm-10">
                    <div class="row">
                        <div class="col">
                            <input name="mobile" [(ngModel)]="platformManager.platformManagerMobile" type="text" class="form-control" placeholder="请输入录入人">
                        </div>
                    </div>
                </div>
            </div>
           
           
            <div class="form-group row">
                <label class="col-sm-2 col-form-label"></label>
                <div class="col-sm-10 m-btn">
                    <button tsBtn routerLink="/inventory/price">取消/返回</button>
                    <button [disabled]="ngForm.form.invalid" *ngIf="platformManager.id===0" tsBtn loading (submit)="confirmInsert($event)" color="success">确认添加</button>
                    <button [disabled]="ngForm.form.invalid" *ngIf="platformManager.id!==0" tsBtn loading (submit)="confirmUpdate($event)" color="primary">确认修改</button>
                </div>
            </div>
            <!--表单测试数据-->
            <!-- <pre>{{platformManager|json}}</pre> -->
        </form>
    </div>
</div>